package com.scuec.trainingmanagementsys.entity;
import java.util.Date;


public class Assessment {
    private Integer assessmentID;         // 对应数据库列 assessmentid
    private String assessmentContent;     // 对应数据库列 assessmentcontent
    private Integer teacherID;            // 对应数据库列 teacherid

    private Date asCreateTime;
    private Integer dailyReportID;        // 新增字段，关联日报 ID

    // 构造方法
    public Assessment() {}

    public Assessment(Integer assessmentID, String assessmentContent,
                      Integer teacherID, Date asCreateTime, Integer dailyReportID) {
        this.assessmentID = assessmentID;
        this.assessmentContent = assessmentContent;
        this.teacherID = teacherID;
        this.asCreateTime = asCreateTime;
        this.dailyReportID = dailyReportID;
    }

    // Getter和Setter方法
    public Integer getAssessmentID() { return assessmentID; }
    public void setAssessmentID(Integer assessmentID) { this.assessmentID = assessmentID; }
    public String getAssessmentContent() { return assessmentContent; }
    public void setAssessmentContent(String assessmentContent) { this.assessmentContent = assessmentContent; }
    public Integer getTeacherID() { return teacherID; }
    public void setTeacherID(Integer teacherID) { this.teacherID = teacherID; }
    public Date getAsCreateTime() { return asCreateTime; }
    public void setAsCreateTime(Date asCreateTime) { this.asCreateTime = asCreateTime; }
    public Integer getDailyReportID() { return dailyReportID; }
    public void setDailyReportID(Integer dailyReportID) { this.dailyReportID = dailyReportID; }

    @Override
    public String toString() {
        return "Assessment{" +
                "assessmentID=" + assessmentID +
                ", assessmentContent='" + assessmentContent + '\'' +
                ", teacherID=" + teacherID +
                ", asCreateTime=" + asCreateTime +
                ", dailyReportID=" + dailyReportID +
                '}';
    }
}